<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${pagetitle}</title>
<link rel="icon" href="../${icopath}" type="image/x-icon" />
<link rel="shortcut icon" href="../${icopath}" type="image/x-icon" />
<link rel="stylesheet" href="resources/admin/Extjs4.2.1/resources/css/ext-all-neptune.css" />
<link rel="stylesheet" href="resources/admin/font-awesome-4.7.0/css/font-awesome.css" />
<link rel="stylesheet" href="resources/admin/layui/css/layui.css" />
<link rel="stylesheet" href="resources/admin/css/style.css" />
<script type="text/javascript" src="resources/admin/Extjs4.2.1/ext-all.js"></script>
<script type="text/javascript" src="resources/admin/Extjs4.2.1/locale/ext-lang-zh_CN.js"></script>
<script type="text/javascript" src="system/override/myoverride.js"></script>
<script type="text/javascript" src="system/admin/js/index.js"></script>
<script type="text/javascript" src="system/widget/FsdVTypes.js"></script>
<script type="text/javascript" src="resources/admin/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="resources/admin/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" src="resources/admin/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="resources/admin/ueditor/formdesign/formdesign.v4.js"></script>
<script type="text/javascript" src="resources/admin/ueditor/importword/importword.v1.js"></script>
<script type="text/javascript" src="resources/admin/laydate/laydate.js"></script>
<script type="text/javascript" src="resources/admin/layui/layui.js"></script>
<script type="text/javascript" src="resources/admin/FsdFileManage/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="resources/admin/FsdFileManage/fsd.config.js"></script>
<script type="text/javascript" src="resources/admin/FsdFileManage/fsd.all.js"></script>
<script type="text/javascript">
	Ext.onReady(function() {
		Ext.Ajax.addInterceptor('system.interceptor.ExceptionInterceptor');
		Ext.override(Ext.grid.GridPanel, {
			afterRender : Ext.Function.createSequence(Ext.grid.GridPanel.prototype.afterRender,
					function() {
						// 默认显示提示
						if (!this.cellTip) {
							return;
						}

						var view = this.getView();

						this.tip = new Ext.ToolTip({
							target: view.el,
							delegate : '.x-grid-cell-inner',
							trackMouse: true,
							renderTo: document.body,
							ancor : 'top',
							style : 'background-color: #FFFFCC;',
							listeners: {
								beforeshow: function updateTipBody(tip) {
									//取cell的值
									//fireFox  tip.triggerElement.textContent
									//IE  tip.triggerElement.innerText
									var tipText = (tip.triggerElement.innerText || tip.triggerElement.textContent);
									if (Ext.isEmpty(tipText) || Ext.isEmpty(tipText.trim()) ) {
										return false;
									}

									tip.update(tipText);
								}
							}
						});
					})
		});
		Ext.QuickTips.init();
	});
	$.fn.serializeObject = function() {
		var o = {};
		var a = this.serializeArray();
		$.each(a, function() {
			if (o[this.name]) {
				if (!o[this.name].push) {
					o[this.name] = [ o[this.name] ];
				}
				o[this.name].push(this.value || '');
			} else {
				o[this.name] = this.value || '';
			}
		});
		return o;
	}
</script>
<style type="text/css">
	*{font-size: 13px;}
	.x-monthpicker-buttons{position:relative;bottom:0;width:100%;}
</style>
</head>
<body>
	<div id="previewDiv" class="x-hidden"  >
		<img src="resources/admin/images/theme/layout/1.jpg" />
	</div>
	<div id="themeTreeDiv" class="x-hidden"></div>
	<div id="layoutTreeDiv" class="x-hidden"></div>
	<div id="layout_previewDiv" class="x-hidden">
		<img src="resources/admin/images/theme/layout/1.jpg" />
	</div>
	<div id="north">
		<table border="0" cellpadding="0" cellspacing="0" width="100%" height="50">
			<tr >
				<td style="padding-left:15px">
					<div id="logoDiv"></div>
				</td>
				<td style="padding-right:5px">
				  <table width="100%"   border="0" cellpadding="0" cellspacing="3" class="banner">
				    <tr align="right">
				    <td>
				      <table border="0" cellpadding="0" cellspacing="1">
				        <tr>
							<td><div style="padding-top: 8px;" id="configDiv"></div></td>
				          	<td>&nbsp;</td>
							<td><div style="padding-top: 8px;" id="themeDiv"></div></td>
				          	<td>&nbsp;</td>
				          	<td><div style="padding-top: 8px;" id = "closeDiv"></div></td>
				        </tr>
				      </table>
				    </td>
				    </tr>
				  </table>
				</td>
			</tr>
		</table>
	</div>
</body>
</html>